Cleantalk\ApbctWP\Firewall\SFWUpdateHelper C

Total Complexity 119
Dependencies 8
Dependents 12
Total lines 563
Lines of code 374
Logical lines of code 254
Comment lines 90
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
directUpdate()
C
34 25 89
prepareUpdDir()
B
42 21 46
removeAndRenameSfwTables()
A
47 12 39
checkTablesIntegrityBeforeRenaming()
A
49 12 32
removeUpdFolder()
A
53 10 24
processCK()
A
46 9 38
getDirectionUrlsOfType()
A
50 8 29
checkTablesIntegrityAfterRenaming()
A
56 8 19
processFile()
S
54 5 21
processUA()
S
64 3 10
fallback()
S
62 2 11
updateIsFrozen()
S
73 2 4
updateIsInProgress()
S
74 1 4
cleanData()
S
65 1 8